<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>家族族谱</title>
    <link rel="stylesheet" href="styles.css">
    <script src="d3.v7.min.js"></script>
</head>
<body>
    <header>
        <div class="logo">家族族谱</div>
        <nav>
            <ul class="nav-links">
                <li><a href="#introduction">家族介绍</a></li>
                <li><a href="#motto">家训</a></li>
                <li><a href="#genealogy">族谱</a></li>
            </ul>
            <div class="menu-toggle" id="mobile-menu">
                <span class="bar"></span>
                <span class="bar"></span>
                <span class="bar"></span>
            </div>
        </nav>
    </header>
   <!-- 内容区域 -->
    <div class="content">
        <section id="introduction" class="section">
            <h2>家族介绍</h2>
            <p>这里是家族介绍的内容...</p>
        </section>

        <section id="motto" class="section">
            <h2>家训</h2>
            <p>这里是家训的内容...</p>
        </section>

        <section id="genealogy" class="section">
            <h2>族谱</h2>
            <div id="tree-container"></div>
        </section>
    </div>
    <script src="script.js"></script>
</body>
</html>